<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png" />
    <HelloWorld msg="Welcome to Your Vue.js App" :vv="vv" />
    <button @click="handleClick">更新</button>
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue';

export default {
  name: 'Home',
  components: {
    HelloWorld,
  },
  data() {
    return {
      vv: 1,
    };
  },
  methods: {
    handleClick() {
      this.vv++;
    },
  },
};
</script>
